How do I update only values in a dictionary