edit and update for workers