updated schema setup