Update dict.