session plugin: pattern read/update mechanism updated.