Create method to update row data