make db persistant