Update user_edit_trajectories.R