template changes to recent and unread