Update model when folder is modified