added autorenew sql structure