Fixed refreshing data