Corrected use of id of item to update