Updated some ajax stuff.