How to update Task ID for tasks in bulk