update loop pat