added location update after search to index page