auto update date in message view