Update res_mine.php