update and rename folder