updated vector layer and models