Update dictionary.lua

dictionary reset with parameter