update media db model