replace mongoid.yml file