Parsing out countries from ajax in updates model and controller