update function writer load function.