update network and message