Changing grade attribute