modifying session message