edit dictionary