Update localFile