updated editcar controller and view