add batchid back to repository