clean the code and upgrade the version.