handle network profile