saving live db