change workers in pool to object from array