Updated query url to 'id'