update version and minimify version