parse session method updated