reset and auto upgrade