added media methods in web service