Altered the Update.on click function.