update for run through hashMap