update to lib