update menu actions & ajax