update ajax request