update URL generation to simplified API