updated db file and secret key