start of upgrader