adding edit dictionary feature