fixed words links update error

The links between nodes and senators were not properly updating upon searching the Capitol Words API. Now they update properly so that the class changes to the proper node association.