changes to update post view_count for valid visits