Flesh out update edit code