Update earnings.inc.php