correct typo in upgrade_ajax from #471