update cssfor attachment