updating the library for the new fields and checks