adjusted media database table to allow for media types