update URL and types