menu updated with conditional