Added update user method.