add refreshData for Os class