Change add function to use the batchuploader