hashtable update, define a dictionary