How to Add Features to the React onClickUpdate Feature

Changing the update mechanism to cover more use cases