added boolean submitted field to Batch model