added 'upgrade' action