Update a sample class