updated slug and view count issues