SQL update in book