update sanity check