update and clean hws