update on encoder decoder