functions to create custom tables when install theme and to update when table version changes