adds batch_publish example