Changed update to clock