add extension support to definition
update