add some debug messages to the upgrade step that could be useful for testing purposes