modify hostname and ip