update URL and method