add the id field for updating