update imagefilter function