Support for duration option in update().