add purge empty latitude method and update http requests