Update with encoding API