Initial work on auto upgrade process