update menu actions & clear