updated the .hwaccel class