Added updateUser endpoint