change sufile update function