adding media entity