Update deprecation warnings for server components