prepare db for menu and options in plugins