setcookie("sayac","0",time()+600*600);

if($_COOKIE["sayac"]==""){
#update
}