split up templates by type, update status of jobs after load