add mongo upload method to data_handler