update book back end