Remove unnecessary dict update.