Added updateUserData method.