update remain task