modify excel save api