Update function.