update menu behaviour