reverting mongodb changes