added css styling update filter logic