update ssample with variable columns