Updated before/after chapters with DB changes and blocking thread code