Partial updates when calling createOrUpdate

Fixes #1029 

@tgoyne