init refresh db