Save edited book in db