updating and optimizing vtwsclib