update MiaoCtrl