synchronize directory with db manager when it is visible