get data and save to mongo for offline development