updating the keystrokes log