update base_url def