update local files script