adding edit ablity