Update traj and slot