update loop condition