Update motor controller