Similarly here, we need to use friend[:hair_color] = "blue"