Update encounters.js