updated cursor location