fix update parameters

when parameters changes, some info aren't be updated in encoder core.