lib.menus.php update