update for story selection based on pathID