Change dic structure