modify session syntax and index message