update filter prototype