updated data in showAlert