Updates settings and files