added route for updating stats