updating the location api to use google services