change dir for hashtable