Update constructor set pat to one line