update button document