fixed unwanted behaviour when querying a model instance with a subset of the model's fields and then updating it