automatic clock update