reset and prepare new version