bug fix for update unit name

forgot unsubscribe events