swing button updated