UPDATE sorting_task SET status=%(status)s WHERE sorting_task.worker_id = %(worker_id_1)s