dict: fix update