Update to new library