updated from bind to keyup