update the hw