changed update to uptime
added args for changing the tty and timeout