update class addBook and orderBook