change data for dynamic view