finalizing the edit car function