vehicle edit function