renamed session flag to include media object id