add reloaddata method