upgrade the slave when it first boots up