@utilities.arguments_not_none<EOL><INDENT>def update_grade_entry(self, grade_entry_form):<DEDENT>
<EOL>collection = JSONClientValidated('<STR_LIT>',<EOL>collection='<STR_LIT>',<EOL>runtime=self._runtime)<EOL>if not isinstance(grade_entry_form, ABCGradeEntryForm):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>if not grade_entry_form.is_for_update():<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>try:<EOL><INDENT>if self._forms[grade_entry_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 grade_entry_form.is_valid():<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>collection.save(grade_entry_form._my_map)<EOL>self._forms[grade_entry_form.get_id().get_identifier()] = UPDATED<EOL>return objects.GradeEntry(<EOL>osid_object_map=grade_entry_form._my_map,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)<EOL>
Updates an existing grade entry.

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