updates menu structure