update TimeStamp() and Repository()