change database and simple filtering