patch code for task worker user/group set