update with endpoint_type support