add change dictionary functionality