How can i update data by using button like when i click on the button all data must be saved in my database?give example.