persist to database
use upsert instead