update of the plotting macros