update sample network