20140526 adjust to mongodb as db