Update api url in config