Added logging and updating of book data