Update edge weights during learning.