Update and Delete logging fixed