bump library to version 4.0