bug fix in restore_object when instance is known but there is no attrs['username']. Mostly for PATCH method updates.