update restore ip addresses with some variable