preparing DB change for MediaReference