set Updates Stats

Wrapper method to set the correct stats based on the status

Parameters

status

The status of the update

stats

The stats data to set