add upgrade step that fixes existing installations