Modify to update adopted status on link click. TODO: able to change data, but cannot get page show updated adopted status. Update fails on subsequent click.