Update worker.hpp