update ajax stuff