server restart orphaned running jobs
updated model functions