added update to display state