prevent rapid tapping of update button