Add new entry and modify existing.