Update assets_version before installing assets

Installing assets has the side effect of creating the production cache without the assets_version being written too first.