edit hardware class