update for display the data