Made the updateToolTip funciton fail more gracefully if invalid event object passed in