test destroy as well as update in terms of updating the id in requests on the ajax queue