Gradient Descent: The Weight-Update Mechanism