add update/destroy views for media
rework media and link modals