creating edit path