update valid bit check