deprecated  update collection and resource view count API.

deprecated update collection and resource view count API.