added upgrade step