updating ajax request