fixed bug with folder update