updating filter and mc gen