added library to editBook