modify dictionary