modify book update spec and change to "update_attributes" from "update_cloumns"