update frozendict