BUG FIX: update sonar in RETURNING