update with index and comment count