receive key event in Node
update framework