Commiting after modifying the asiignment of batch to medical manager