Update function test