Updating time line plotting, duplicate counting