Update repository and correct files