Updating the robot command structure