Set new version.
Refactoring SQL sentences.