Changed over to multi table batch writer instead of using two batch writers