Update function conversion sample