text class update