Update hostname in config