change google api to v2