Update tips callbacks should set $a or $b be undef if the reference was created or removed

It's extremely annoying to check for 40 zero characters, rather set ```$a``` or ```$b``` to ```undef```