updating mongo config