adapt schema to new protocols