fix object type code example

update