Disables update button after clicking on it