Made mechanism for updating status of session on the fly