updated the detect time being used.