register ajax update