rename 'add_rightclick_upgrade_action' function as 'add_rightclick_actions'