update the title after ajax