update AdvancedNewFile