added check if datasource should/can be reloaded