Update the TClass bit and state in UpdateClassInfoWithDecl