updated the patch for oauth2 file