add batch save option