Undefine functions that defined in previous graph updating event