Updating the configuration to take it from a velocity variable