update plotting macros