update the missing style of before and after pseduo element