modify packet model