update location api usage to google play service.