update submit task api