added tree structure to upgrade menu items, the fuck am i doing