Fix hostname update