update db structure and add theme when add site