<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def update_menu(self):

 """Update context menu"""

        self.menu.clear()
        add_actions(self.menu, self.create_context_menu_actions())