update ajax calls