add fallback system to upgrade PM2 smoothly