update dict method from dataset