couldnt udpate flat button