bb_update/3

"bb_update( +Key, ?Term, ?New" )

Atomically unify a term stored in the blackboard under key Key with Term, and if the unification succeeds replace it by New. Fail silently if no such term exists or if unification fails.