book add/upd/del logic, db update, little design changes