removed the TODO remark (already implemented)
extract a separate method to update DDL potentially linked to an input (so far tested only with value inputs), and call it both from connect() and disconnect()
Use the "override" feature of the callback when refusing to change the block type to make sure the menu items stay the same.