added OPTLOCK fields to BAMTaskSummary and TaskEvent tables