view count update api