updating triangle files