added location lookup feature and periodic location update feature