fix hasUpdate button