update classes table schema, insert classes data