function updateReservation()
{
    $reservation = new Reservations();
    $get_edited = array();
    foreach ($_REQUEST as $k => $v) {
        $get_edited[str_replace("edit_", "", $k)] = $v;
    }
    $reservation->setValues($get_edited);
    if ($reservation->updateReservations()) {
        Common::jsonSuccess("Reservation Update Successfully!");
    } else {
        Common::jsonError("Error");
    }
}