updated schema class