added db and did a sync