Delete parameter in method update for class traj