dict: fix update
dict: fix keys and values