Added method for updating user data