added method to reset database