<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
</head>
<body>
<input type="text" id="one" placeholder="name">
<input type="number" id="two" placeholder="age">
<input type="text" id="three" placeholder="Address">
<button onclick="add()">Add</button>
<button onclick="update()">Update</button>
<table class="table table-bordered">
<thead>
<th>Sl.No</th>
<th>Name</th>
<th>Age</th>
<th>Address</th>
<th>Action</th>
</thead>
<tbody id="data">
</tbody>
</table>
<script>
var newone=[]
var newtwo=[]
var newthree=[]
function add(){