back db with mongo instead of dirty