update macro conditions