change schema according to protocol formed Data