update folder depth