Updated model metadata scripts to be able to construct and update values