Fixed namespacing issue on media update in media manager