update delta encoding