improved dump save api