code: cleanup, no longer needed
fixed: wrong flag on update media