make dynamic edit