patch for updating user