add replace method in Dao.
deletes data, not update, when deleting from active record.