update a part's extended property through the iom

hello,

i have been able to update the extended property of a part through aml but i'm looking fo a sample code to understand how to do it with iom(innovator object model)

thanks,

Lucas