Update horner method