Fixed some issues with LSE update rule.