remove old ajax update code