public static function updateVillage_othernames($obj_mainpacket)
 {
     $retrunUserpacket = array();
     $packet = $obj_mainpacket->packet;
     $obj_Village_othernames = new Village_othernames();
     if (count($packet) >= 2) {
         $obj_Village_othernames->VillageId = $packet[0];
         $obj_Village_othernames->VillageNames = $packet[1];
         $obj_retResult = new returnResult();
         $obj_retResult_Village_othernames = DAL_manageVillage_othernames::update($obj_Village_othernames);
         if ($obj_retResult_Village_othernames->type == 1) {
             $obj_retResult->type = 1;
             $obj_retResult->msg = "Village_othernames updation is Success";
             $retrunUserpacket = $obj_retResult_Village_othernames->data->wsGetVillage_othernamesData();
         } else {
             $obj_retResult->type = 0;
             $obj_retResult->msg = "Village_othernames updation is Failed";
             $result_Village_othernames = DAL_manageVillage_othernames::getVillage_othernamesByVillageId($obj_Village_othernames->VillageId);
             if ($result_Village_othernames->type == 1) {
                 $retrunUserpacket = $result_Village_othernames->data->wsGetVillage_othernamesData();
             }
         }
         $returnPacket = array($obj_retResult->type, $obj_retResult->msg);
         $returnPacket = array_merge($returnPacket, $retrunUserpacket);
         $obj_mainpacket->returnValues = $returnPacket;
         $obj_mainpacket->main_setPacket();
     }
 }