Support for Update API.

Fixes #250