edit boolean statement