reloads data properly