update API URLs