add network profile update function.