updated network functions