add library management