update macro definition too