first automated refreshing of messages implemented