updating user persisted object