update media class and added complete class and html class