adding edit input feature.