set target provides gps loc api