making minor changes to mongo service