modify the bookcontroller