Updating API endpoint addresses