update Sanad set VazeyatTasvieh = 1 where type = 'factorforoosh' and state = 5 and VazeyatTasvieh = 2  and TarikhTasvieh is null