upd data and filter functionality