Changing string to object

oh ok good, i didn’t see its for update, but update pipeline would work, MongoDB documentation is very good with examples also.