Update sample definition