modified worker processes recording and DB