Implement expire tag feature and DB side