update detection directory configuration