updating folder  structure