updated update_dictionary command