update base_url for phantomjs