update macro definition