setup database again after site editing