add hashmap entry  cache