update remove empty clock function