update reset method