Updating worker logic