revise dict