change dictionary struct