Update DocumentPersiseter upsert to use shard key if defined