added editing of inputs