add savelogs and resubmittedjobs to task db