update some where to extract