updating user and user manager