added media and reference in posts