Update dict and set types