Save new record to db.