added name parameter for commands and menu-update