edited the asset routes for edit functionality