added/updated show/index/edit method of books