fix update except condition