update pagination in archive.php