Updata database structure