Add ability to replace single value in a dictionary