Update local file