persist messages