Added associations, indexed db