Builder's state update SQL clause fixed