I'm not sure that you need a loop if all of the records you are updating have the same value... is $_GET['id_usr'] an array you want to loop on?
You may just need:
$UpdateQuery->addFilter("id_act", "=", "i", "".($_POST['id_act']) ."");
$UpdateQuery->addFilter("active_act", "=", "i", "1");