update form in popup

firstly I am new to yii.I have dispalyed data from table and each data row has a button to edit and update the data.

when a button is clicked a modal popup will appear with data corresponding to that row in form and in that popup i have a button .if we change data in popup and click button data will be updated for that perticular row and then updated data will be shown in the all div of all data in same page without reloading page any where…i achieved this without form in modal popup but it is difficult to achieve in form …please any suggestions…thank u in advance