Updating ajax request