update statement in LogsModel made lighter to make Deadlocks less likely