Updates mongo's host.