Update placeFactory.js