updated schema loading