fix bug in updatating the size of changed AVP