You could link to the page with $_GET
PHP Code:
<?php
if ($_GET['update'])
{
$update = $_GET['update'];
if ($update == 'yes')
{
UPDATE code here
}
}
normal output here
?>
You can then link to:
page.php?update=yes
That's a quick base than can be expanded upon.