Search and submenu
Writing updatestate