GPII-539: Make LM's update invoker dynamic.
GPII-539: Add test for LM's update with ongoing session.