update for nest v5 API (for get requests only)