Change "name" attribute to "key" attribute