replace gapi key