Add update only shared example.

Fixes #2861