update the user controller