update before_migrate hook for shellycloud