update dict-based segment