test updating hash syntax