update detect dialog