update filtering.
move marker class name logic into model.