db persistence added