update. addClass is defect