modify refence middleware v3.1 dll