fix dependencies and upgrade step