adding edit capability