clean up meta terms after db refactoring
Update stored schema