init db for save method