edit macro