using url to change data

Used url to change data based off of button clicked