library maintenance