update completed tasks