Update MotionMaster.cpp