update width of network map