add hash change mode