record uptime as well