Fix id problem in updating vehicles