update the macro