fixed bug where data source editor would not update properly.