update undobutton