update System/FlashMessages for using System\Sessions