remove reference to media table
Fixes #319 path problem
Fixes #319 path problem
Fix mediafile edit problem
Update sql to work with publish up down.
Update sql to work with publish up down.
Update to work new look.