Add example showing sync_value functionality