added reloadOnChange flag for core data datasources