@utilities.arguments_not_none<EOL><INDENT>def update_objective(self, objective_form):<DEDENT>
<EOL>collection = JSONClientValidated('<STR_LIT>',<EOL>collection='<STR_LIT>',<EOL>runtime=self._runtime)<EOL>if not isinstance(objective_form, ABCObjectiveForm):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>if not objective_form.is_for_update():<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>try:<EOL><INDENT>if self._forms[objective_form.get_id().get_identifier()] == UPDATED:<EOL><INDENT>raise errors.IllegalState('<STR_LIT>')<EOL><DEDENT><DEDENT>except KeyError:<EOL><INDENT>raise errors.Unsupported('<STR_LIT>')<EOL><DEDENT>if not objective_form.is_valid():<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>collection.save(objective_form._my_map)<EOL>self._forms[objective_form.get_id().get_identifier()] = UPDATED<EOL>return objects.Objective(<EOL>osid_object_map=objective_form._my_map,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)<EOL>
Updates an existing objective.

        arg:    objective_form (osid.learning.ObjectiveForm): the form
                containing the elements to be updated
        raise:  IllegalState - ``objective_form`` already used in an
                update transaction
        raise:  InvalidArgument - the form contains an invalid value
        raise:  NullArgument - ``objective_form`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        raise:  Unsupported - ``objective_form`` did not originate from
                ``get_objective_form_for_update()``
        *compliance: mandatory -- This method must be implemented.*