Update manipulator.r