data collection api modifications added