add export ref from sql to mongo