update the protocol and the mainmenu