regex and time updates