ajax for updating item -> get method