CHANGED:applied the addDateLabel/UpdateDateLabel function