Commit for queries after updating user and person