update version check of libraries