update sample code for google service account authentication