change keyup for keydown