update macros for Mavericks