Changed priority of 'init' function to fix widget being broken and make sure that upgrade still works. Retested upgrade succesfully