Updating the location with the response from the backend after it has been created.