updating menu items and enabling search