This is work on merging common code from update, install, and create

This is not yet ready to merge.