update the render