update the ip format