update rider code