reload data and error handling