updated inserts to return last submission id, job submission file uploads working (not data files)