finish filtering by tag

use "Scuttle" style of database solution, only support intersection
update the database if the last_time is behind the current last_time