Updatelink

Is there not a way to do this with less code through React state?