Update pretty time function