Added data refresh functionality