Update wity.sql with media tables