change mongodb configuration