update something class