Implement "stg refresh --edit" again