Updating urls and local_settings