update the Macro for Map Engine