update media database