updated macro cmd