detect new and old entries