Refactor UpdateModelMixin.update

Re-order the `update` method of `UpdateModelMixin` to improve readability.