sample class update