Update load function.