use keyup/keydown/keypress
updates