Update stats on unit content change

Even when there was no change on checks, changed content could lead to
different state of checks than it was before in case there are more
units with same contentsum within the project.

Signed-off-by: Michal Čihař <michal@cihar.com>