change the value for a key instead of duplicating the entry.