Weight update.