update memory and uptime unit