update dict usage