update ui of menu