insertAsDict, updateAsDict