added edit method to Book module