fixed upgrade step