* **they went up** - Jerusalem was on a hill, so people had to go up to it.
* **after they had stayed the full number of days for the feast** - "when all the days of celebrating the feast were over" or "after celebrating the feast for the required number of days"