add states db