Update main.c

make the upgrade command use --ff-only.