change hook state in capture state