updating network related functions