Add path sync for location plugin