adding and updating files