Lib upgrade