make sure the data displayed is up to date