Update network: function weight_core()