updated scan detector