Also log the document ID when updating a layer