update code with a bunch of motor updates