Bug 998956 - [MediaDB] update the date outside the indexedDB onupgradeneeded

WIP