keypress added for ios
update