Change version_params to [:document][:version]