replace table class