update cursor moving
update