I have a problem regarding updating BSON docs in Mongodb using Java. I want to set a field only if the type / tool is correct, otherwise it should ignore it.
here is my m