update onScan in sign scan success view