update and helper class