Begin database upgrade mechanism