update view count