add update all lines conditions.