Update Ruby hash syntax