update trend from stl