Updating and reorganizing files