update exports to stop error in routes