Add update option.

Refer to #2.