Update the onclick event with Brent's Fix