adding escape to update
update menu handling