Add update

Used several arities to make it GC-friendly.