update library to the latest