renaming upgrade dir