remove upgrade dir