Update class.melinda.php