modify update control. fix some bug.