Update to ajax for alters