updating damaged files